package com.liar.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("stack")
public class StackController {
    @Value("${server.port}")
    private String port;
    @RequestMapping("add")
    public String add(){
        System.out.println("库存添加");

        return "添加库存成功"+port;
    }
}
